package fr.aviz.frontend;

import javafx.scene.chart.XYChart;
import javafx.scene.chart.XYChart.Data;
import javafx.scene.chart.XYChart.Series;

public class PointInSeries 
{
	private XYChart.Series<Number, Number> series;
	private XYChart.Data<Number, Number> point;
	
	@Override
	public String toString() {
		return series.getName() + "\t" + point.getXValue() + "\t" + point.getYValue();
	}
	
	public PointInSeries(Series<Number, Number> series,
			Data<Number, Number> point) {
		super();
		this.series = series;
		this.point = point;
	}
	
	public XYChart.Series<Number, Number> getSeries() {
		return series;
	}
	public void setSeries(XYChart.Series<Number, Number> series) {
		this.series = series;
	}
	public XYChart.Data<Number, Number> getPoint() {
		return point;
	}
	public void setPoint(XYChart.Data<Number, Number> point) {
		this.point = point;
	}
}